package com.github.satant.job.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 任务-用户中间表
 *
 * @author dear_satant
 * @email 446269825@qq.com
 * @date 2018-06-26 21:32:18
 */
@Table(name = "st_task_user")
@Data
public class StTaskUser implements Serializable {

    private static final long serialVersionUID = 1L;

    //
    @Id
    private Integer id;

    //
    @Column(name = "user_id")
    private Integer userId;

    //
    @Column(name = "task_id")
    private Integer taskId;

    //1：已被选择，2:未被选择
    @Column(name = "status")
    private Integer status;


}
